/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pagrafo.grafo;

/**
 *
 * @author Fabricio
 */
public class Vertice {
    
    private double x;
    private double y;
    private double demanda;
    
    public Vertice(double x, double y, double demanda){      
        this.x = x;
        this.y = y;
        this.demanda = demanda;
    }
    
    public Vertice(double x, double y){      
        this.x = x;
        this.y = y;
    }

    public double getDemanda() {
        return demanda;
    }

    public double getX() {
        return x;
    }

    public double getY() {
        return y;
    }

    public void setDemanda(double demanda) {
        this.demanda = demanda;
    }
    
    
    
    
    
}
